import '@unocss/reset/tailwind.css'
import 'uno.css'
import './styles/main.scss'
import { createPinia } from 'pinia'
import { createRouter, createWebHistory } from 'vue-router'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/reset.css'
import { createApp } from 'vue'
import dayjs from 'dayjs'
import dayjsLocale from 'dayjs/locale/zh-cn'
import App from './App.vue'
import { routes } from './router'

const pinia = createPinia()
const router = createRouter({
  history: createWebHistory(),
  routes,
})
dayjs.locale(dayjsLocale)

const app = createApp(App).use(pinia).use(router).use(Antd)
app.mount('#app')
